package com.nexus.core.sys.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.nexus.core.query.annotation.QueryCondition;
import com.nexus.core.query.annotation.QueryType;
import com.nexus.core.service.dto.BaseDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统属性
 *
 * @Date 2025/7/28 15:08
 * @Author Administrator
 **/
@Data
@EqualsAndHashCode(callSuper = false)
public class SysPropertiesDTO extends BaseDTO {


    /**
     * 属性描述
     */
    @ExcelProperty("属性描述")
    @QueryCondition(tableField = "description", type = QueryType.EQ)
    private String description;
    /**
     * 类别
     */
    @ExcelProperty("类别")
    @QueryCondition(tableField = "category", type = QueryType.EQ)
    private String category;
    /**
     * 属性名称
     */
    @ExcelProperty("属性名称")
    @QueryCondition(tableField = "name", type = QueryType.EQ)
    private String name;
    /**
     * 属性值
     */
    @ExcelProperty("属性值")
    @QueryCondition(tableField = "value", type = QueryType.EQ)
    private String value;
}